package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

/**
 * 客服表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_customer_service")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CustomerServiceModel {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;  //
    private String name;  //姓名
    private String phone;  //电话
    private String email;  //邮箱
    private String vipIds;  //负责的会员ids
    private String nickname;  //昵称
    /**
     *  //状态1正常 2停止提供服务
     */
    private Integer status;
    private Integer nowNum;  //当前负责的商家数量
    private Integer maxNum;  //负责的商家数量上限
    private Integer areaId;  //区id
    private Integer cityId;  //市id
    private String areaCode;
    @TableField(exist = false)
    private List<String> value;//所属地区id
    @TableField(exist = false)
    private String areaText;
    @TableField(exist = false)
    private String area;
    @TableField(exist = false)
    private String city;
    @TableField(exist = false)
    private String province;
    /**
     * //1删除 2未删除
     */
    private Integer isDel;
    private Timestamp createTime;
    private Timestamp updateTime;

    private String wxCode;
}
